﻿using System;
using System.Collections.Generic;

namespace FlashPay.Service.Interface
{
    using FlashPay.EF.Models;
    using FlashPay.Entity.Parameter;

    /// <summary>
    /// 授权业务接口
    /// </summary>
    public interface AuthorizeService
    {
        /// <summary>
        /// 获取所有用户记录
        /// </summary>
        /// <param name="request">查询条件</param>
        /// <returns>List<UserInfo></returns>
        List<Authorize> GetList(AuthorizeQuery request);

        /// <summary>
        /// 获取所有用户记录
        /// </summary>
        /// <param name="request">查询条件</param>
        /// <returns>List<UserInfo></returns>
        List<Authorize> GetMenuAuthorizes(AuthorizeQuery request);
    }
}
